<?php defined('SYSPATH') or die();?>

    <div class="page out" id="shareSellerLevel">
        <div class="header_top">
            <a class="back-link-icon" href="javascript:;" data-rel="back"></a>
            <h1 class="page-title-bar">分销商等级</h1>
        </div>
        <!-- 公用顶部 -->
        <div class="page-content">
            <div class="level-page-container">
                <div class="level-info-wrap">
                    <div class="l-box">
                        <img src="{$member['litpic']}" />
                        <span class="icon"></span>
                    </div>
                    <div class="m-box">
                        <span class="name">{$member['nickname']}</span>
                        <span class="label">{$fenxiao['fxrank_name']}</span>
                    </div>
                    <div class="r-box">
                        <div class="level-speed"></div>
                        {if !empty($next_rank)}
                        <div class="txt"><span class="c-yyellow">+{$next_rank['left_ordernum']} </span> 即可升级到 <span class="c-yyellow">{$next_rank['title']}</span></div>
                        {/if}
                    </div>
                </div>
                <div class="level-table-wrap">
                    <table width="100%" class="table-list">
                        <tr>
                            <th width="30%">等级名称</th>
                            <th width="45%">推广订单数量区间</th>
                            <th width="25%">奖励</th>
                        </tr>
                        {loop $rank_list $rank}
                        <tr>
                            <td>{$rank['title']}</td>
                            <td>{$rank['min_order_num']}-{if empty($rank['max_order_num'])}不限{else}{$rank['max_order_num']}{/if}</td>
                            <td>{if empty($rank['jifen'])}无{else}{$rank['jifen']}{/if}</td>
                        </tr>
                        {/loop}
                    </table>
                </div>
                <div class="level-txt-wrap">
                    <h3>说明：</h3>
                    <p>1.分销商等级由推广订单数量决定，推广的订单越多，分销商等级越高，分销商享受的奖励越多。</p>
                    <p>2.推广订单数量只统计交易成功的订单数量</p>
                    <p>3.积分奖励，例如20积分：表示每笔推广订单，分销商可额外获得20积分，累计积分可在积分商城兑换产品</p>
                </div>
            </div>
        </div>
    </div>

